package lambda;

import java.io.FileFilter;

public class lambdaDemo {
    public static void main(String[] args) {
        /*
        FileFilter fileFilter = new FileFilter() {
            public boolean accept(File pathname) {
                return pathname.getName().startsWith(".");
            }
        };

         */

        FileFilter fileFilter = a ->a.getName().startsWith(".");



    }
}
